import React ,{useState}from 'react'
import { ProductCard } from 'react-vant';
const Index:React.FC = () => {
    const [yhj, setYhj] = useState(localStorage.getItem('yhj') || '')
  return (
    <div>
     {
        yhj? <ProductCard
      num={yhj}
      desc="永远快人一步"
      title="急速问诊"
      thumb={'../../src/img/jswz.webp'}
    />: <div style={{textAlign:'center',marginTop:'50px'}}>
        没有卷了亲
    </div>
     }
    </div>
  )
}

export default Index
